﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.DomainModels.HealthEducation;

namespace VOL.SmartMecial.IServices.HealthEducation
{
    public interface IBroadCastService
    {
        /// <summary>
        /// 获取广播内容列表
        /// </summary>
        /// <returns></returns>
        Task<List<BroadCastModel>> GetBroadCastModels();

        /// <summary>
        /// 添加广播内容
        /// </summary>
        /// <param name="broadCastModel"></param>
        /// <returns></returns>
        Task<int> AddBroadCast(BroadCastModel broadCastModel);

        /// <summary>
        /// 更新广播内容
        /// </summary>
        /// <param name="broadCastModel"></param>
        /// <returns></returns>
        Task<int> UpdateBroadCast(BroadCastModel broadCastModel);

        /// <summary>
        /// 删除广播内容
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<int> DeleteBroadCast(int id);
    }
}
